﻿using Commission.Helpers;
using Commission.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Commission.ViewModels
{
    public class InputAmountModel
    {
        [Required(
            ErrorMessageResourceType = typeof(AppResource),
            ErrorMessageResourceName = "ErrorUserNameIsRequired")]
        public string UserName { get; set; }

        public string Name { get; set; }

        [Required(
            ErrorMessageResourceType = typeof(AppResource),
            ErrorMessageResourceName = "ErrorDescriptionIsRequired")]
        public string Description { get; set; }

        public string DisplayAmount80 { get; set; }

        public string DisplayAmount20 { get; set; }

        public decimal Amount80 { get; set; }

        public decimal Amount20 { get; set; }
    }
}